#ifndef DATOCELDA_H_
#define DATOCELDA_H_
#include <gtkmm.h>
#include <iostream>
#include <string>
#include <stdio.h>
#include "json/json.h"

class DatoCelda {
	unsigned char numCelda;
	std::string tagCelda;

	//probabilidades
	unsigned char probButtDefault;
	unsigned char probButtAma;
	unsigned char probButtAzu;
	unsigned char probButtRoj;
	unsigned char probButtVer;
	unsigned char probButtVio;
	unsigned char probBarDefault;
	unsigned char probBarAma;
	unsigned char probBarAzu;
	unsigned char probBarRoj;
	unsigned char probBarVer;
	unsigned char probBarVio;
	unsigned char probStarDefault;

	bool vacia;

public:
	DatoCelda();
	Json::Value ToJson() const;

	unsigned char getNumCelda();
	void setNumCelda(unsigned char num);

	void setVacia(bool valor);
	bool getVacia();

	void setTagCelda(std::string tag);

	void setProbButtDefault(unsigned char prob);
	void setProbButtAma(unsigned char prob);
	void setProbButtAzu(unsigned char prob);
	void setProbButtRoj(unsigned char prob);
	void setProbButtVer(unsigned char prob);
	void setProbButtVio(unsigned char prob);
	void setProbBarDefault(unsigned char prob);
	void setProbBarRoj(unsigned char prob);
	void setProbBarAzu(unsigned char prob);
	void setProbBarAma(unsigned char prob);
	void setProbBarVio(unsigned char prob);
	void setProbBarVer(unsigned char prob);
	void setProbStarDefault(unsigned char prob);

	unsigned char getProbButtDefault();
	unsigned char getProbButtAma();
	unsigned char getProbButtAzu();
	unsigned char getProbButtRoj();
	unsigned char getProbButtVer();
	unsigned char getProbButtVio();
	unsigned char getProbBarDefault();
	unsigned char getProbBarRoj();
	unsigned char getProbBarAzu();
	unsigned char getProbBarAma();
	unsigned char getProbBarVio();
	unsigned char getProbBarVer();
	unsigned char getProbStarDefault();
};

#endif  
